import { http } from "../../utils/http";
// 内销领用功能--获取最大领用单号
export const getMaxStockCountLossId = () => {
  return http.request("get", "/box/getMaxStockCountLossId");
};

// 内销领用功能--新增领用申请单
export const insertStockCountLoss = (data) => {
  return http.request("put", "/box/insertStockCountLoss" ,{data}   );
};

// 木箱领用明细查询--获取所有领用信息
export const getStockCountLoss = () => {
  return http.request("get", "/box/getStockCountLoss");
};
// 木箱领用明细查询--更新领用信息
export const updateStockCountLoss = () => {
  return http.request("post", "/box/updateStockCountLoss");
};
// 木箱领用明细查询--删除领用信息
export const DeleteStockCountLoss = () => {
  return http.request("delete", "/box/DeleteStockCountLoss");
};
// 木箱领用明细查询--查询订单信息
export const searchStockCountLoss = () => {
  return http.request("get", "/box/searchStockCountLoss");
};
